package bootstrap

//go:generate option-gen --o options_generate.go
import (
	"gitee.com/lipore/go-nio/pkg/channel"
	"gitee.com/lipore/go-nio/pkg/transport"
)

type Options struct {
	tsFactories []transport.Factory
	cgs         []channel.Group
}

func NewOptions(opts ...Option) *Options {
	o := &Options{}
	for _, opt := range opts {
		opt.Apply(o)
	}
	return o
}
